package com.hebxy.ssm.dao;

import java.util.List;
import java.util.Map;

import com.hebxy.ssm.entity.User;

public interface UserMapper {
    
    public User login(Map<String,Object> map);//用户登录
    
    public User selectByCardNumber(String card_number);//通过卡号去查询用户，用于避免卡号重复
    
    public int insertUser(User user); 
    
    public List<User> selectUserList();
    
    public void deleteUserById(Integer id);
    
    public User selectById(Integer id);
    
    public int updateUser(User user);
    
    public void deleteByIds(Map<String,Object> map);
     
    public void updateUserPlan(User user);
    
    
    
}